package com.sgb.kjwl.interfaces;

import android.view.View;

/**
 * @author : younghow
 * @date : 2021/8/31 18:27
 * description:
 */
public interface MultiClickListener extends View.OnClickListener {

    @Override
    default void onClick(View v){
        long curClickTime = System.currentTimeMillis();
        if ((curClickTime - TimeUtils.lastClickTime) < TimeUtils.MIN_CLICK_DELAY_TIME) {
            return;
        }

        TimeUtils.lastClickTime = curClickTime;
    }
}
